//This trigger is to call the Webservice for insert and update into Contact Phone
trigger HF_ContactPhoneSync on Contact_Phone__c (after Insert, after Update) {
Set<Id> PhId = new Set<ID>();

    for(Contact_Phone__c p:Trigger.new){
        PhId.add(p.Id);
    }
    system.debug('**********'+PhId);
    If(PhId!= null && PhId.size()>0)
    if(trigger.isInsert && trigger.isAfter){
        HF_ClientWSContactPhone.AddContactPhone(PhId);
        }
        if(trigger.isUpdate && trigger.isAfter){
         HF_ClientWSContactPhone.UpdateContactPhone(PhId);
        }
        }